/**
 * @file app_mqtt.h
 * @author Ai-Thinker Seahi
 * @brief
 * @version 0.1
 * @date 2021-09-02
 *
 * @copyright Copyright (c) 2021
 *
 */
#ifndef _APP_MQTT_H
#define _APP_MQTT_H

#include "mqtt_client.h"

 //阿里云连接信息
#define My_Host "a139AXIVJkg.iot-as-mqtt.cn-shanghai.aliyuncs.com"
#define My_ClientID "My_Test|securemode=3,signmethod=hmacmd5|"
#define My_UserName "My_Test&a139AXIVJkg"
#define My_Password "002ccc109dfe2a82e4878976194eba53"
//Topic
#define My_SubTopic "/sys/a139AXIVJkg/My_Test/thing/service/property/set"
#define My_PubTopic "/sys/a139AXIVJkg/My_Test/thing/event/property/post"
extern esp_mqtt_client_handle_t my_client;
extern bool mqtt_connect;
extern int RGB_STATUS;
void app_mqtt_start(void);

#endif
